Building the executable

| Note
| SNiFF+ doesn't have its own compiler therefore you must have a compiler installed on your computer to compile SNiFF+ projects. By default, the gnu compiler is specified on Unix, and Microsoft Developer is specified on Windows. If you are using another compiler, it must be specified in your Platform Makefile. For more information, see User's Guide -- Build and Make Support.

In the Project Editor
Before building, make sure that the projects' Make Support information is up-to-date. Makefiles should be updated whenever structural changes are made to the projects, or when projects are first opened.

Choose Target > Update Makefiles... to generate the Make Support Files for all the projects.
A dialog appears asking you whether the dependencies information should also be updated.

2. Press Yes.
   SNiFF+ generates the Make Support Files and stores them in the

.sniffdir subdirectory of each project directory.
Make execution
SNiFF+ needs to know where to start the Make execution. You tell SNiFF+ this by selecting the appropriate project. In the example project, Make execution starts in complex.shared .

In the Project Tree, highlight

complex.shared by clicking on its name.
Choose Target > Make > all to recursively build the executable.
A Shell Tool appears, in which the make all command is executed in each project directory. At the end of the build it should look like this:

If compiler errors are reported in the shell at this stage, something went wrong with the setup of the project's Make attributes. We recommend that you go through the steps in this tutorial again, carefully check them, compare screenshots, and try compiling again.